package com.xianyun.site.iblog.dto.user;

import com.xianyun.common.core.domain.ICommand;
import lombok.*;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * @author mac_zyj
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Data
public class SocialUserBindCmd extends ICommand implements Serializable {
    private static final long serialVersionUID = 1L;
    /**社交账号ID*/
    @NotEmpty(message = "三方账号Id不能为空")
    private String socialId;
    /**用户ID*/
    @NotEmpty(message = "用户ID不能为空")
    private String userId;
    /**SessionId 编号*/
    private String sessionId;
    /**绑定时间*/
    private Date bindTime;
}
